import { useAxios } from "@/hooks/useAxios";

//获取投票具体信息
export function getvoteinfo(parameter?: any) {
  return useAxios({
    url: '/wechat/culture/getlists',
    method: 'get',
    params: parameter
  })
}

export function getNewsList(parameter?: any) {
  return useAxios({
    url: '/hussarApi/qwWebService/queryNews',
    method: 'POST',
    data: parameter
  })
}

export function getNewsBigImage(parameter?: any) {

  return useAxios({
    url: '/hussarApi/qwWebService/queryBigPNews',
    method: 'POST',
    data: parameter
  })
}